<div class="person-desc ">
	<div class="person-desc-left">
		<div class="person-desc-left-con">
			<iframe name="demoIframe" style="display:none"></iframe>
			<form target="demoIframe" action="up.php" method="post" enctype="multipart/form-data" >
				<label for="touxiangt">
					<img src="__CDN__{$user.avatar}" class="touxiang" id="touxiang">
				</label>
				{eq name="ismy" value="1"}
				<input type="file" name="files" accept=".jpg,.png,.jpeg" id="touxiangt" style="display: none;">
				{/eq}
			</form>

			{eq name='$ismy' value='1'}
				{switch name="user.approve_status" }
				{case value="1" break="1"}
				<img src="__CDN__/assets/img/index/no_renzheng.png" class="renzheng">
				<!-- <a href="" class="pos">待审核</a> -->
				<span class="pos">待审核</span>

				{/case}
				{case value="2" break="2"}
				<img src="__CDN__/assets/img/index/renzheng.png" class="renzheng">
				<p class="hospital">{$user.approve_title}</p>
				<!-- <a href="" class="pos">已认证</a> -->
				<span class="pos">已认证</span>

				{/case}
				{default /}
				<img src="__CDN__/assets/img/index/no_renzheng.png" class="renzheng">
				<a href="/index/user/approve.html" class="pos">认证</a>
				{/switch}
				<p class="fabu">
					<a href="/index/user/addArticle.html">发布文章</a><span class="shu"></span>
					<a href="/index/user/addDigitalslides.html">发布数字切片</a>
				</p>
			{else /}
				{switch name="user.approve_status" }
				{case value="1" break="1"}
				<img src="__CDN__/assets/img/index/no_renzheng.png" class="renzheng">
				{/case}
				{case value="2" break="2"}
				<img src="__CDN__/assets/img/index/renzheng.png" class="renzheng">
				<p class="hospital">{$user.approve_title}</p>
				{/case}
				{default /}
				<img src="__CDN__/assets/img/index/no_renzheng.png" class="renzheng">
				{/switch}
				{eq name='$is_attention' value='0'}
					<p class="fabu">
						<a href="javascript:;" data-id="{$ids}" data-type="1" data-action="suzerain" class="jiagz">+关注</a>
					</p>
				{else /}
					<p class="fabu">
						<a href="">已关注</a>
					</p>
				{/eq}
			{/eq}
		</div>
	</div>
	<div class="person-desc-right">
		<form>
			<div class="percenter-inp-list one-left">
				<label id="nicheng">昵称<span>:</span></label>
				<input type="" name="nicheng" id="editnicheng" placeholder="" disabled="disabled" value="{$user.username}">
				<a href="javascript:;" class="xiugai xiugai1">[修改]</a>
			</div>
			<div class="percenter-inp-list one-right">
				<label id="sex">性别<span>:</span></label>
				<!-- <input type="" name="" id="sex" placeholder="男" disabled="disabled"> -->
				<select disabled="disabled" class="sexvalue" >
					<option value="0" {eq name="user.sex" value="null"}selected{/eq}>需填写</option>
					<option value="1" {eq name="user.sex" value="1"}selected{/eq}>男</option>
					<option value="2" {eq name="user.sex" value="2"}selected{/eq}>女</option>
				</select>
				<a href="javascript:;" class="xiugai xiugai2" >[修改]</a>
			</div>
			<div class="percenter-inp-list two-left">
				<label id="zhuce-time">注册时间<span>:</span></label>
				<input type="" name="" id="zhuce-time" placeholder="{$user.createtime|date='Y年',###}" disabled="disabled">
			</div>
			<div class="percenter-inp-list two-right">
				<label id="city">城市<span>:</span></label>
				<input type="text" name="" id="scity" placeholder="需填写" disabled="disabled" value="{$user.city}">
				<a href="javascript:;" class="xiugai xiugai3">[修改]</a>
			</div>
			<div class="percenter-inp-list geren-desc-con">
				<label id="geren-desc">个人简介<span>:</span></label>
				<textarea disabled="disabled" name="" id="geren-desc" placeholder="需填写" class="geren-desc">{$user.introduce}</textarea>
				<a href="javascript:;" style="display: block;clear: both;padding-left: 80px;padding-top: 10px;" class="xiugai textarea-xiugai xiugai4">[修改]</a>
			</div>
		</form>
	</div>
	<script>
		$(function () {
            var ismy = '{$ismy}';
            if (ismy !== '1'){
				$('.xiugai').hide();
            } else {
                $('.xiugai').show();
			}
        })

	</script>

	<div style="clear: both;"></div>

</div>